import 'dart:convert';
/// code : 0
/// data : true
/// msg : ""
/// serverTime : ""

SendSmsData sendSmsDataFromJson(String str) => SendSmsData.fromJson(json.decode(str));
String sendSmsDataToJson(SendSmsData data) => json.encode(data.toJson());
class SendSmsData {
  SendSmsData({
      int? code, 
      bool? data, 
      String? msg, 
      String? serverTime,}){
    _code = code;
    _data = data;
    _msg = msg;
    _serverTime = serverTime;
}

  SendSmsData.fromJson(dynamic json) {
    _code = json['code'];
    _data = json['data'];
    _msg = json['msg'];
    _serverTime = json['serverTime'];
  }
  int? _code;
  bool? _data;
  String? _msg;
  String? _serverTime;
SendSmsData copyWith({  int? code,
  bool? data,
  String? msg,
  String? serverTime,
}) => SendSmsData(  code: code ?? _code,
  data: data ?? _data,
  msg: msg ?? _msg,
  serverTime: serverTime ?? _serverTime,
);
  int? get code => _code;
  bool? get data => _data;
  String? get msg => _msg;
  String? get serverTime => _serverTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['code'] = _code;
    map['data'] = _data;
    map['msg'] = _msg;
    map['serverTime'] = _serverTime;
    return map;
  }

}